package furstadminka.dbinterraction;

/**
 * Класс-хранилище настроек для jdbc и BD
 * @author  Vit
 */
public class Settings {
   private static String driverName = "com.mysql.jdbc.Driver";
   private static String serverName = "localhost";
   private static String serverPort = "3306";
   private static String mydatabase = "restorant";
   private static String url = "jdbc:mysql://" + serverName + ":" + serverPort + "/" + mydatabase;
   private static String username = "root";
   private static String password = "5988520";

    public static String getDriverName() {
        return driverName;
    }

    public static String getServerName() {
        return serverName;
    }

    public static String getServerPort() {
        return serverPort;
    }

    public static String getMydatabase() {
        return mydatabase;
    }

    public static String getUrl() {
        return url;
    }

    public static String getUsername() {
        return username;
    }

    public static String getPassword() {
        return password;
    }
}
